django tutorial 7/12

by: joshua.dan, 8 years ago


I think I did the code exactly and get this when starting the server.

"
[django.core.exceptions.ImproperlyConfigured: The included URLconf '<module 'blog.urls']..............................
    
[mysiteblogurls.py'>' does not appear to have any patterns in it. If you see valid patterns in the file then the issue is probably caused by a circular import.]

What does this mean? Everything looks exact as the tutorial.



You must be logged in to post. Please login or register an account.



I had such a problem check your spelling in your urls.py files. I had used urlpattern rather than urlpatterns.


urlpatterns = [
    url(r'^$', views.index, name='index')
]


-mihango 8 years ago

You must be logged in to post. Please login or register an account.